const path = ['销售管理', '现货管理'];
const configArr = []
//
const tableHeaderData = [
	{
		prop:'mobile',
		label:'用户手机号',
		width:'120'
	},
	{
		prop: 'exclusiveCode',
		label: '专属编码',
		width: '100'
	},
	{
		prop: 'orderAmount',
		label: '订单金额',
		width: '100'
	},
	{
		prop: 'amountPayable',
		label: '应付总金额',
		width: '100'
	},
	{
		prop: 'showPay',
		label: '支付状态',
		width: '100'
	},
	{
		prop: 'payAmount',
		label: '已支付金额',
		width: '100'
	},
	{
		prop: 'payRatio',
		label: '支付比例',
		width: '100'
	},
	{
		prop: 'waittingPayment',
		label: '待支付金额',
		width: '100'
	},
	{
		prop: 'showMethod',
		label: '发货方式',
		width: '100'
	},
	{
		prop: 'showOrderStatus',
		label: '订单状态',
		width: '100'
	},
	{
		prop: 'dictAftersaleStatus',
		label: '售中售后状态',
		width: '100'
	},
	{
		prop: 'manName',
		label: '男士姓名',
		width: '100'
	},
	{
		prop: 'recipientName',
		label: '收件人',
		width: '100'
	},
	{
		prop: 'recipientPhone',
		label: '联系方式',
		width: '200'
	},
	{
		prop: 'createTime',
		label: '下单时间',
		width: '160'
	},
	{
		prop: 'receivingGoodsDate',
		label: '收货时间',
		width: '160'
	},
	{
		prop: 'shipper',
		label: '发货门店',
		width: '120'
	},
	{
		prop: 'originChannel',
		label: '销售渠道',
		width: '120'
	},
	{
		prop: 'salesman',
		label: '销售人员',
		width: '120'
	},
	{
		prop: 'reservationNo',
		label: '预约单号',
		width: '120'
	},
	{
		prop: 'remarks',
		label: '用户备注',
		width: '120'
	},

]
//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total: 1,
	num1: 1,
	num2: 1
}
//
const filterOption = {
	items: [
		{
			label: "关键字",
			type: "input",
			data: undefined,
			placeholder: "订单编号/售中单号/定制编码/收件人",
			value: undefined,
			key: "keyWord"
		},
		{
			label: "订单状态",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "orderStatus"
		},
		{
			label: "用户手机号",
			type: "input",
			data: undefined,
			placeholder: "用户手机号",
			value: undefined,
			key: "mobile"
		},
		{
			label: "用户id",
			type: "input",
			data: undefined,
			placeholder: "用户",
			value: undefined,
			key: "customerId"
		},
		{
			label: "发货门店",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "shipper"
		},
		{
			label: "预约单号",
			type: "input",
			data: undefined,
			placeholder: "输入预约单号",
			value: undefined,
			key: "reservationNo"
		},
		{
			label: "销售渠道",
			type: "dropdown",
			data: [{
					label: "官网",
					value: "官网"
				},
				{
					label: "一号店",
					value: "一号店"
				},
				{
					label: "天猫",
					value: "天猫"
				},
				{
					label: "重庆WFC店",
					value: "重庆WFC店"
				},
				{
					label: "深圳华强北店",
					value: "深圳华强北店"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "originChannel"
		},
		{
			label: "销售人员",
			type: "dropdown",
			data: [{
					label: "线上售前组-刘玲",
					value: "线上售前组-刘玲"
				},
				{
					label: "销售中心-魏丽华",
					value: "销售中心-魏丽华"
				},
				{
					label: "客户服务部-郑孟子",
					value: "客户服务部-郑孟子"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "salesman"
		},
		{
			label: "发货方式",
			type: "dropdown",
			data: [{
					label: "快递",
					value: "0"
				},
				{
					label: "自提",
					value: "1"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "shippingMethod"
		},
		{
			label: "支付状态",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "payStatus"
		},
		{
			label: "售中售后状态",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "aftersaleStatusName"
		},
		{
			label: "下单时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "creatTime"
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
//
const tableData = [

]
let Model = {
	data() {
		return {
			Model: {
				path: path,
				paginationObject: paginationObject,
				configArr: configArr,
				filterOption: filterOption,
				TableSelectData: [],
				tableHeaderData: tableHeaderData,
				tableData: tableData,

				dialogForm: {}, //			//支付
				dialogFormVisible: false, //支付弹窗
				page: {
					pageIndex: 1,
					pageSize: 10
				},
			}
		}
	}
}
export default Model;
